<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/11/25
  Time: 16:41
  To change this template use File | Settings | File Templates.
--%>
<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2018/7/17
  Time: 15:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="container-fluid">
    <link href="/static/dist/lib/uploader/zui.uploader.min.css" rel="stylesheet">
    <script src="/static/dist/lib/uploader/zui.uploader.min.js"></script>
    <div id="uploaderExample" class="uploader">
        <div class="file-list" data-drag-placeholder="请拖拽文件到此处"></div>
        <button type="button" class="btn btn-primary uploader-btn-browse"><i class="icon icon-cloud-upload"></i> 选择文件</button>
    </div>
    <script type="application/javascript">
        $('#uploaderExample').uploader({
            autoUpload: true,            // 当选择文件后立即自动进行上传操作
            url: 'your/file/upload/url'  // 文件上传提交地址
        });
    </script>
</div>